<template "ui/head" />
<template "ui/css" />
<template "ui/iframe" />
<div class="layui-tabs layui-tabs-card" style="margin-top:0;">
    <ul class="layui-tabs-header">
        <li><a href="{{$_L['url']['own_form']}}ivideo&id={{$_L['form']['id']}}">第三方视频</a></li>
        <li class="layui-this">上传视频</li>
    </ul>
</div>
<div class="lcms-form-video">
    <form class="layui-form layui-form-pane" data-onsubmit="dosubmit">
        <ui form($form) />
    </form>
</div>
<script type="text/javascript">var dosubmit=function(form){window.parent.postMessage({type:"lcms-editor-addvideo",field:form},"*");LCMS.util.iframe({do:"close"})}</script>
<template "ui/foot" />